let mongoose=require("mongoose")
mongoose.connect("mongodb+srv://sh104024:SHIhui104024@cluster0.lvba9.mongodb.net/xiangmu").then(()=>{
    console.log("数据库连接成功")
})
.catch((error)=>{
    console.log("数据库连接失败",error);
    
})
module.exports=mongoose